public class dds {

    public static void main(String[] args){
        Pat  aaad= new Pat();
        Pat  bbbd= new Pat("李世杰","156262647879",23);
        Pbt  cccd= new Pbt();
        Pbt  fffd= new Pbt();
        aaad.a=120;
        aaad.c=13;
        aaad.b=54;
        int s1= aaad.a+ aaad.c+ aaad.b;
        int s2= bbbd.S(12,16,180);
        System.out.println("p1的姓名："+aaad.name+",p1的身份证号："+aaad.id+"p1的年龄："+aaad.age+"治理能力:"+s1);
        System.out.println("p2的姓名："+bbbd.name+",p2的身份证号："+bbbd.id+"p2的年龄："+bbbd.age+"治理能力:"+s2);
        int A1= cccd.DDS(12,15,16);
        int A2= fffd.DDS(15,13,16);
        int E1= cccd.DDA(15,16,18);
        int E2= fffd.DDA(125,116,118);
        int H1= cccd.AAP(123);
        int H2= cccd.AAP(123);
        System.out.println("挑战1："+A1+"挑战2"+E1+"挑战字"+H1);
        System.out.println("挑战1："+A2+"挑战2"+E2+"挑战字"+H2);
    }
}
class Pat  {
    public int a;
    public String name;
    public String id;
    public int age;
    int b;
    int c;
    public Pat (){
        name="李书记";
        id="0012235546302";
        age=22;
    }
    public Pat (String name,String id,int age){
        this.name=name;
        this.id=id;
        this.age=age;
    }
    public int S(int a,int b,int c){
        return a+b+c;
    }
}
class Pbt {   int A;
    int B;
    int C;
    int D;
    int E;

    int DDS(int A,int B,int D) {
        A = B + D;
        return A;
    }

    int DDA(int E,int A,int C) {
        E = A + C;
        return E;
    }

    int AAP(int H) {
        H=A+E;
        return H;
    }


}







